import { createStore, combineReducers, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import { CounteReducer, ColorReducer } from './reducers'
let rootReducer = combineReducers({ CounteReducer, ColorReducer })

let store = createStore(rootReducer, applyMiddleware(thunk))
export default store